#!python
#
# Pyste file for osg::MFPnt4T (for various values of T).

import Settings
Import("Field.pyste")

MField = Template('osg::MField', 'OpenSG/OSGMFVecTypes.h')

for type in Settings.SF_MF_Pnt_Types:
   name = 'Pnt4%s' % type
   c = MField('osg::' + name)
   final(c)
   rename(c, 'MF' + name)
   set_policy(c.getType, return_internal_reference(1))
   set_policy(c.getContentType, return_internal_reference(1))
   set_policy(c.getValueByStr, return_internal_reference(1))
   set_policy(c.getValue, return_internal_reference(1))
   set_policy(c.getValues, return_internal_reference(1))
   set_policy(c.front, return_internal_reference(1))
   set_policy(c.back, return_internal_reference(1))
   exclude(c.syncWith)
   exclude(c.copyToBin)
   exclude(c.copyFromBin)
   exclude(c.front)
   exclude(c.back)
   exclude(c.getValue)
